package com.woniuxy05;

import cn.hutool.core.date.DateUtil;

import java.util.Date;

/**
 * @author 作者
 * @create 2025-06-06 9:33
 */
public class Test01 {
    public static void main(String[] args) {
        Date date = DateUtil.date();
        System.out.println(date);


        String dateStr = "2017-03-01";
        Date date2 = DateUtil.parse(dateStr);
        System.out.println(date2);

    }
}
